﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NJT.ValueConverter;

namespace NJT.Test.ValueConverter
{
    [TestClass]
    public class Bool取反test
    {
        [TestMethod]
        public void Bool取反_test()
        {
            var b = new Bool取反();

            Assert.AreEqual(true, b.Convert(false, typeof(bool), null, CultureInfo.CurrentCulture));

            Assert.AreEqual(false, b.Convert(true, typeof(bool), null, CultureInfo.CurrentCulture));
        }

    }
}
